<?php

class Comments extends Model {
    var $name = 'Comments';

    function content_sanitize($str) {
        add_filter('content_save_pre', 'wp_filter_post_kses');
        $str = nl2br($str);
        return apply_filters('content_save_pre', $str);
    }

    function author_sanitize($title) {
        return sanitize_title($title);
    }

    function author_url_sanitize($str) {
        return sanitize_title($str);
    }

    function author_email_sanitize($str) {
        return sanitize_title($str);
    }

}
?>
